package structure

type web struct {
	userid       int    `json:"userid" gorm:"column:userid;unique;primaryKey;autoIncrement"`
	username     string `json:"username" gorm:"column:username"`
	userpassword string `json:"userpassword" gorm:"column:userpassword"`
}

//定义表名
func (web) TableName() string {
	return "webs"
}
